package com.itnoob.whitelist.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.List;

/**
 * @author zhoujun
 * @date 2025/3/20 23:49
 */
@Data
@ConfigurationProperties(prefix = "whitelist")
public class WhiteListProperties {

    //是否开启白名单
    private boolean enabled;

     //全局白名单列表
    private List<String> global;

}
